package com.ms.player;

import com.google.gson.Gson;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

public class PlayerSwitchList {

	public static final String clientReportString = "clientReport";
	
	/**
	 * 客戶端回報紀錄
	 */
	@SerializedName("clientReport")
	@Expose
	private ClientReport clientReport;
	
	
	//整包CLASS轉成Json字串
	public static String getPlayerSwitchListJsonStringByClass(PlayerSwitchList classInput){
		Gson gson = new Gson();
		return gson.toJson(classInput);
	}
	
	//整個字串轉成CLASS
	public static PlayerSwitchList getPlayerSwitchListClassByJsonString(String jsonInput){
		Gson gson = new Gson();
		return gson.fromJson(jsonInput, PlayerSwitchList.class); 
	}
	
	public ClientReport getClientReport() {
		return clientReport;
	}

	public void setClientReport(ClientReport clientReport) {
		this.clientReport = clientReport;
	}

}
